package com.jy.adscm.stock.mapper;

import com.jy.adscm.stock.bean.JyInStorage;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zyl
 * @since 2019-01-23
 */
public interface JyInStorageMapper extends BaseMapper<JyInStorage> {

    /**
     * 查询入库单中有多少经销商
     * @return
     */
    List<JyInStorage> queryDealer();

    List<JyInStorage> queryDealerHaveProduct( @Param("dealer") String dealer);
}
